<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <button @click="changeText">点击我</button>
        <p>{{ message }}</p>
      </div>
      
      <script src="https://cdn.jsdelivr.net/npm/vue@3/dist/vue.global.js"></script>
      <script>
        Vue.createApp({
          data() {
            return {
              message: "Hello, World!"
            };
          },
          methods: {
            changeText() {
              this.message = "你好，Vue!";
            }
          }
        }).mount("#app");
      </script>
      
</body>
</html>